package com.jk.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.jk.dao.DoctorteamDao;
import com.jk.pojo.DoctorteamEntirty;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName DoctorteamService
 * @Descripttion TODO
 * @Author DELL
 * @Date 2022/10/16 20:25
 * @Version 0.001
 */
@Service
public class DoctorteamService {
    @Autowired
    private DoctorteamDao doctorteamDao;

    /**
     * @Author: binzi
     * @Description:团队
     * @Date: 2022/10/16 20:27
     * @Return: java.util.List<com.jk.pojo.DoctorteamEntirty>
     **/
    public List<DoctorteamEntirty> findDoctorteam() {
        QueryWrapper<DoctorteamEntirty> queryWrapper = new QueryWrapper<>();
        List<DoctorteamEntirty> doctorteamEntirties = doctorteamDao.selectList(queryWrapper);
        return  doctorteamEntirties;
    }
}
